//引入导航 路由组件
import hoemRoutes from "@/router/home/home"
export default [
    {
        path:'/register',
        name:'register',
        component:()=>import('@v/Register.vue')
    },
    {
        path:'/login',
        name:'login',
        component:()=>import('@v/Login.vue')
    },
    {
        path:'/home',
        name:'home',
        component:()=>import('@v/Home.vue'),
        children:hoemRoutes
    },

    {
        path:"/personcenter",
        name:"personcenter",
        component:()=>import("@/views/Personcenter.vue")

    },   
    {
        path:"/personcenter",
        name:"personcenter",
        component:()=>import("@/views/Personcenter.vue")

    },
    {
        path:"/shishi",
        name:"shishi",
        component:()=>import("../views/shishi.vue")
    },
    {
        path:"/poiu",
        name:"poiu",
        component:()=>import("../views/uuuuu/poiu.vue")
    },
    // 没有在路由列表中的页面都使用notfound  没有该组件
    {
        path:'*',
        name:'notFound',
        component:()=>import('@v/NotFound.vue')
    },

    // 路由重定向
    {
        path:'/',
        redirect: {
            name:'home'
        }
    }
]